package io.tim.mvc.service.vo;

/**
 * 一个存储业务处理服务实现类返回的各种消息信息的类，包括消息名称，消息内容，消息优先级，以及消息创建者 具体业务处理如需要返回更多信息可继承并扩展此类
 * 
 * @author Zhang Nan
 * @since 2017/02/21
 *
 */
public class MessageVO {

	private String messageName = "";

	private String messageContent = "";

	private String messagePrio = "";

	private String messageCreator = "";

	public MessageVO() {

	}

	public String getMessageName() {
		return messageName;
	}

	public void setMessageName(String messageName) {
		this.messageName = messageName;
	}

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public String getMessagePrio() {
		return messagePrio;
	}

	public void setMessagePrio(String messagePrio) {
		this.messagePrio = messagePrio;
	}

	public String getMessageCreator() {
		return messageCreator;
	}

	public void setMessageCreator(String messageCreator) {
		this.messageCreator = messageCreator;
	}

	@Override
	public String toString() {
		return "MessageVO: [messageName=" + messageName + ", messageContent=" + messageContent + ", messagePrio="
				+ messagePrio + ", messageCreator=" + messageCreator + "]";
	}

}
